package com.ruicar.afs.cloud.common.modules.dto.mq.loan;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * <p>Description：证件变更历史信息DTO</p>
 *
 * @author
 * @version 1.0
 * @create 2020-6-17
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CaseCustHistoryDTO {
    @JSONField(name = "id")
    private Long id;
    /**
     * 申请编号
     */
    @JSONField(name = "applyNo")
    private String applyNo;
    /**
     * 客户ID
     */
    @JSONField(name = "custId")
    private Long custId;
    /**
     * 案件角色
     */
    @JSONField(name = "custRole")
    private String custRole;
    /**
     * 姓名
     */
    @JSONField(name = "custName")
    private String custName;
    /**
     * 证件类型
     */
    @JSONField(name = "certType")
    private String certType;
    /**
     * 证件号码
     */
    @JSONField(name = "certNo")
    private String certNo;
    /**
     * 有效期起
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @JSONField(name = "certStartDate")
    private Date certStartDate;
    /**
     * 有效期止
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @JSONField(name = "certEndDate")
    private Date certEndDate;
    /**
     * 是否长期
     */
    @JSONField(name = "isLongTerm")
    private Boolean isLongTerm;

    /**
     * 创建人
     */
    @JSONField(name = "createBy")
    private String createBy;
    /**
     * 创建时间
     */
    @JSONField(name = "createTime", format = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    /**
     * 更新人
     */
    @JSONField(name = "updateBy")
    private String updateBy;
    /**
     * 更新时间
     */
    @JSONField(name = "updateTime", format = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    /**
     * 删除标记
     */
    @JSONField(name = "delFlag")
    private String delFlag;
}
